package com.jubaopen.service;

import com.jubaopen.bean.Seller;
import com.jubaopen.dao.SellerDAO;

public class SellerService {

	private SellerDAO sellerDAO;

	public void setSellerDAO(SellerDAO sellerDAO) {
		this.sellerDAO = sellerDAO;
	}
	
	public boolean save(Seller seller){
		int ret = 0;
		
		ret = sellerDAO.add(seller);
		
		return ret>0 ? true:false; 
	}
	
}
